﻿<%@ Page Title="" Language="C#" MasterPageFile="~/mng-admin-cc/admin-site.Master" AutoEventWireup="true" CodeBehind="SessionDetails.aspx.cs" Inherits="CodeCamp12.admin.SessionDetails" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
    <style type="text/css">
        
        .style1
        {
            width: 143px;
            font-weight: bold;
            vertical-align: top;
        }
    </style>
    
    <script src="../Scripts/SessionDetails.js" type="text/javascript"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="server">
    <h2>Add new Session or manage existing one</h2>
    <form id="validateSession" method="GET" action="">
    <table>
            <tr>
                <td class="style1">Presentation title:</td><td><input type="text" id="txtTitle" name="title"/></td>
            </tr>
            <tr>
                <td class="style1">Language:</td> 
                <td>
                    <select id="ddlLanguage">
                        <option>EN</option>
                        <option>MK</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="style1">Select speaker/s for this presentation:</td>
                <td>
                    <label class="error" id="lblSpeakerError" style="display: none">You must select speaker for the presentation</label>
                    <div id="speakers" class="speakersCheckBoxList">
                    
                    </div>
                    <input type="text" id="txtSpeakerNameSearch" onkeyup="GetSpeakersByFirstName();" style="float: left; margin-left: 10px; margin-top: 0;"/>
                    <div style="clear: both"><label style="color: red">Your speaker doesn't exist in the list?</label> <br /><strong><a href="SpeakerDetails.aspx">Add new speaker</a></strong></div>
                </td>
            </tr>
            <tr>
                <td class="style1">For event:</td>
                <td><select id="ddlEvents"></select></td>
            </tr>
        </table>
        <br />
        <strong>Presentation description:
        </strong>
        <br/>
        <textarea id="descrEditor" name="sessionDescription" ></textarea>
        <br />
        <button type="button" id="btnInsert">Insert session</button>
        <br/>
        <label id="EditSession" style="color: red;">Editing this session means that it will be removed from the track that it was assigned to before...</label>
    </form>
</asp:Content>
